set the castNum of sprite g_analyse_sprite_at to g_analyse_cast_at
if g_biblio_actif = 0 then
puppetSprite(g_analyse_sprite_picto_biblio, 1)
set the castNum of sprite g_analyse_sprite_picto_biblio to g_analyse_cast_picto_biblio
set the stretch of sprite g_analyse_sprite_picto_biblio to 0
set the locH of sprite g_analyse_sprite_picto_biblio to 260
set the locV of sprite g_analyse_sprite_picto_biblio to 455
end if
if g_numtxtcomp < g_nbtxtcomp then
set the regPoint of cast g_analyse_cast_picto_avatxt to point(0, 0)
puppetSprite(g_analyse_sprite_picto_avatxt, 1)
set the castNum of sprite g_analyse_sprite_picto_avatxt to g_analyse_cast_picto_avatxt
set the stretch of sprite g_analyse_sprite_picto_avatxt to 0
set the locH of sprite g_analyse_sprite_picto_avatxt to 520
set the locV of sprite g_analyse_sprite_picto_avatxt to 460
else
puppetSprite(g_analyse_sprite_picto_avatxt, 0)
end if
if g_numtxtcomp > 1 then
set the regPoint of cast g_analyse_cast_picto_rettxt to point(0, 0)
puppetSprite(g_analyse_sprite_picto_rettxt, 1)
set the castNum of sprite g_analyse_sprite_picto_rettxt to g_analyse_cast_picto_rettxt
set the stretch of sprite g_analyse_sprite_picto_rettxt to 0
set the locH of sprite g_analyse_sprite_picto_rettxt to 485
set the locV of sprite g_analyse_sprite_picto_rettxt to 460
else
puppetSprite(g_analyse_sprite_picto_rettxt, 0)
end if
puppetSprite(g_analyse_sprite_picto_numpg, 1)
set the castNum of sprite g_analyse_sprite_picto_numpg to g_analyse_cast_picto_numpg + g_numtxtcomp
set the stretch of sprite g_analyse_sprite_picto_numpg to 0
set the locH of sprite g_analyse_sprite_picto_numpg to 507
set the locV of sprite g_analyse_sprite_picto_numpg to 470
set the visible of sprite g_analyse_sprite_picto_numpg to 0
updateStage()
set the visible of sprite g_analyse_sprite_picto_numpg to 1
puppetSprite(g_analyse_sprite_picto_nbpg, 1)
set the castNum of sprite g_analyse_sprite_picto_nbpg to g_analyse_cast_picto_numpg + g_nbtxtcomp
set the stretch of sprite g_analyse_sprite_picto_nbpg to 0
set the locH of sprite g_analyse_sprite_picto_nbpg to 518
set the locV of sprite g_analyse_sprite_picto_nbpg to 470
set the visible of sprite g_analyse_sprite_picto_nbpg to 0
updateStage()
set the visible of sprite g_analyse_sprite_picto_nbpg to 1
set g_analyse_status to 0
go(the frame)
else
if g_analyse_status = 5 then
set g_nbtxtcomp to 9
set g_numtxtcomp to 1
puppetSprite(g_analyse_sprite_picto_biblio, 1)
set the castNum of sprite g_analyse_sprite_picto_biblio to g_analyse_cast_picto_biblio + 1
set g_analyse_status to 4
go(the frame)
else
if g_analyse_status = 6 then
set the castNum of sprite g_analyse_sprite_picto_biblio to g_analyse_cast_picto_biblio
set g_analyse_status to 4
go(the frame)
else
go(the frame)
end if
end if
end if
end if
end if
end if
if (g_visite = 1) and (g_analyse_status = 0) then
updateStage()
set curtime to the timer
repeat while the timer < (curtime + (60 * g_tempo))
if the mouseDown then
set g_call_param to -1
set g_exit to 0
unpuppet()
go("sortie")
exit repeat
end if
end repeat
set g_exit to 0
unpuppet()
go("sortie")
end if
if rollOver(g_analyse_sprite_ap) then
cursor(gCurseurOeil)
else
if rollOver(g_analyse_sprite_picto_biblio) or rollOver(g_analyse_sprite_picto_txtcomp) then
cursor(gCurseurTexte)
else
if rollOver(g_analyse_sprite_picto_manitool) then
cursor(gCurseurPointer)
else
if rollOver(g_analyse_sprite_picto_retuniv) or rollOver(g_analyse_sprite_picto_avatxt) or rollOver(g_analyse_sprite_picto_rettxt) or (g_analyse_lien_dico <> EMPTY) then
cursor(gCurseurDoigt)
else
if rollOver(47) then
cursor(gCurseurMainUp)
else
cursor(-1)
end if
end if
end if
end if
end if
end
on message_d7
global xmsg
set xmsg to "Hypertext Links give you quick and easy access to detailed information on the most frequently used terminology in the CD-ROM. These do not function in this demo."